package com.linuxone.news.client;

import java.util.List;
import java.util.Map;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.linuxone.news.NewsThread;

public interface NewsServiceAsync {

	void getNewsThread(AsyncCallback<Map<String, NewsThread>> callback);

	void getNewsThreadinList(AsyncCallback<List<NewsThread>> callback);
}
